<div class="div-top">
    <span style="font-size: 20px;float:left;">{{menu_name}}</span>
    <div style="float:right;">
		<button ng-repeat="but in buttons" ng-click="operate(but.event)" class="btn btn-{{but.style}}"><i class="iconfont {{but.img}}"></i>&nbsp;{{but.name}}</button>
	</div>
</div>
<form class="div-find form-inline">
	<div class="form-group">
		<label class=" col-form-label">学年：</label>
		<select class="form-control" ng-options="schoolYear.year_pk as schoolYear.school_year for schoolYear in schoolYearList" ng-model="form.year_pk" ng-change="select();">
			<option value="">==请选择==</option>
		</select>
	</div>
	<div class="form-group">
		<label class=" col-form-label">学期：</label>
		<select class="form-control" ng-options="schoolTerm.term_pk as schoolTerm.school_term for schoolTerm in schoolTermList" ng-model="form.term_pk" ng-change="select();">
			<option value="">==请选择==</option>
		</select>
	</div>
</form> 

<div class="div-table">
 <table class="table table-hover table-bordered">
      <thead>
        <tr>
			<th class="table-th-checkbox" ><input type="checkbox" ng-click="checkAll($event.target)" /></th>
			<th>学年</th>
			<th>学期</th>
			<th>开始日期</th>
			<th>结束日期</th>
			<th>周数</th>
			<th>总周数</th>
        </tr>
      </thead>
      <tbody ng-switch on="page.current_num">
      	<tr ng-switch-when="0">
   		<td colspan="100" >查询无记录</td>
   		</tr>
        <tr ng-repeat="row in rows" ng-click="optData($event.currentTarget)">
	      <td>
	      	<input type="checkbox" name="dataPk" value="{{row}}" />
	      </td>
            <td>{{row.school_year}}</td>
            <td>{{row.school_term}}</td>
			<td>{{row.start_date}}</td>
            <td>{{row.end_date}}</td>
            <td>{{row.week}}</td>
			<td>{{row.sum_week}}</td>
        </tr>
      </tbody>
 </table>
</div>
<div ng-include="'plugin/frame/3.0.1/html/page.html'" class="div-page" ></div>
